package com.gym.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gym.dao.FoodSortMapper;
import com.gym.pojo.FoodSort;
import com.gym.service.FoodSortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class FoodSortServiceImpl extends ServiceImpl<FoodSortMapper, FoodSort> implements FoodSortService {

    @Autowired(required = false)
    FoodSortMapper foodSortMapper;

    @Override
    public FoodSort queryByfoodsortName(String foodsortName) {
        return foodSortMapper.queryByfoodsortName(foodsortName);
    }
}
